package com.domain.dto.role;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class AddRoleDTO {

    @NotBlank(message = "角色名称不能为空")
    @Schema(description = "角色名称", example = "xx管理员")
    private String roleName;

    @Schema(description = "角色描述", example = "这是一个xxx职位")
    private String description;
}
